package file;

import java.io.File;

public class FileDome {
    public static void main(String[] args) {
        //File file = new File("E:/javacod/JSD2310SE/demo.txt");
        File file = new File("./demo.txt");
        long fd = file.length();
        System.out.println(fd);
        Boolean a = file.canRead();
        Boolean b = file.canWrite();
        Boolean c = file.isHidden();
        System.out.println("可读" + a + "可写" + b + "隐藏" + c);
    }
}
